import request from '@/utils/request'

// 查询用户评论信息列表
export function listComment(query) {
  return request({
    url: '/system/comment/list',
    method: 'get',
    params: query
  })
}

// 审核通过
export function reviewTure(data) {
  return request({
    url: '/system/comment/reviewTrue',
    method: 'post',
    data: data
  })
}

// 审核驳回
export function reviewFalse(data) {
  return request({
    url: '/system/comment/reviewFalse',
    method: 'post',
    data: data
  })
}
